import { Rect } from "./Rect.js"
export class Food {
  constructor() {
    this.rect = new Rect(this.randomNum(0, 12) * 50, this.randomNum(0, 12) * 50, "green");
  }
  randomNum(min, max) {
    return parseInt(Math.random() * (max - min)) + min;
  }
}